<template>
  <div>
    <router-view></router-view>
  </div>
</template>

<script setup lang="ts">
import { onMounted } from "vue";
import { reqLogin } from "@/api/user";

onMounted(() => {
  reqLogin({ username: "huangft", password: "111111" });
});
</script>

<style lang="scss" scoped>
h1 {
  color: $color;
}
</style>
